package com.fish.service.order;

import java.util.List;

import com.fish.account.po.Account;
import com.fish.common.constant.QueryPage;
import com.fish.order.po.Order;

public interface OrderService {
	/**
	 * 根据主键查询
	 * 
	 * @update zhangzhenhua 2010-9-20
	 */
	Order queryOrderByPrimaryKey(Long orderId);

	/**
	 * 添加
	 * 
	 * @update zhangzhenhua 2010-9-20
	 */
	void addOrder(Order order);
	
	/**
	 * 修改
	 * 
	 * @update zhangzhenhua 2010-9-20
	 */
	void updateOrder(Order order);
	
	/**
	 * 模糊查询
	 * 
	 * @update clj 2010-9-20
	 */
	List<Order> queryOrderByObject(Order order);
	
	public Long queryOrderCountByObject(Order order);
	
	public List<Order> queryOrderByObject(Order order, QueryPage queryPage);
}
